#ifndef SFCALC_ERROR
#define SFCALC_ERROR
#define NO_ERROR 0
#define ISTREAM_ERROR 1
#define BLANK_STR 2
#define CHECK_ERROR 3
#define MORE_SYM 4
#define BRACKET_MATCH 5
#define CHAR_MATCH 6
#define ARG_NUM_MATCH 7
#define OTHER_ERROR 8
#define OSTREAM_ERROR 9
#define FILE_ERROR 10

#include <iostream>
#include <string>

using namespace std;

class sfError{
public:
	sfError(int code=NO_ERROR,string msg="no error");
	int errCode;
	string errMsg;
	void output(ostream &ost = cout);
	string output_str();
}; 
#endif